home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / SecalDemo / Inc / libcalls / graphics.inc < prev    next >
Text File  |  1998-06-24  |  28KB  |  1,190 lines

  1. pattern BltBitMap(_srcBitMap,_xSrc,_ySrc,_destBitMap,_xDest,_yDest,_xSize,_ySize,_minterm,_mask,_tempA) is
  2.     push d2\d3\d4\d5\d6\d7\a2\a6;
  3.     safe a0:=_srcBitMap; d0.l:=_xSrc; d1.l:=_ySrc; a1:=_destBitMap; d2.l:=_xDest; d3.l:=_yDest; d4.l:=_xSize; d5.l:=_ySize; d6.l:=_minterm; d7.l:=_mask; a2:=_tempA;;
  4.     a6:=GfxBase; jsr [a6-30];
  5.     pop d2\d3\d4\d5\d6\d7\a2\a6;
  6. endp;                                                            # BLTBITMAP
  7.  
  8. pattern BltTemplate(_source,_xSrc,_srcMod,_destRP,_xDest,_yDest,_xSize,_ySize) is
  9.     push d2\d3\d4\d5\a6;
  10.     safe a0:=_source; d0.l:=_xSrc; d1.l:=_srcMod; a1:=_destRP; d2.l:=_xDest; d3.l:=_yDest; d4.l:=_xSize; d5.l:=_ySize;;
  11.     a6:=GfxBase; jsr [a6-36];
  12.     pop d2\d3\d4\d5\a6;
  13. endp;                                                            # BLTTEMPLATE
  14.  
  15. pattern ClearEOL(_rp) is
  16.     push a6;
  17.     a1:=_rp;
  18.     a6:=GfxBase; jsr [a6-42];
  19.     pop a6;
  20. endp;                                                            # CLEAREOL
  21.  
  22. pattern ClearScreen(_rp) is
  23.     push a6;
  24.     a1:=_rp;
  25.     a6:=GfxBase; jsr [a6-48];
  26.     pop a6;
  27. endp;                                                            # CLEARSCREEN
  28.  
  29. pattern TextLength(_rp,_string,_count) is
  30.     push a6;
  31.     safe a1:=_rp; a0:=_string; d0.l:=_count;;
  32.     a6:=GfxBase; jsr [a6-54];
  33.     pop a6;
  34. endp;                                                            # TEXTLENGTH
  35.  
  36. pattern Text(_rp,_string,_count) is
  37.     push a6;
  38.     safe a1:=_rp; a0:=_string; d0.l:=_count;;
  39.     a6:=GfxBase; jsr [a6-60];
  40.     pop a6;
  41. endp;                                                            # TEXT
  42.  
  43. pattern SetFont(_rp,_textFont) is
  44.     push a6;
  45.     safe a1:=_rp; a0:=_textFont;;
  46.     a6:=GfxBase; jsr [a6-66];
  47.     pop a6;
  48. endp;                                                            # SETFONT
  49.  
  50. pattern OpenFont(_textAttr) is
  51.     push a6;
  52.     a0:=_textAttr;
  53.     a6:=GfxBase; jsr [a6-72];
  54.     pop a6;
  55. endp;                                                            # OPENFONT
  56.  
  57. pattern CloseFont(_textFont) is
  58.     push a6;
  59.     a1:=_textFont;
  60.     a6:=GfxBase; jsr [a6-78];
  61.     pop a6;
  62. endp;                                                            # CLOSEFONT
  63.  
  64. pattern AskSoftStyle(_rp) is
  65.     push a6;
  66.     a1:=_rp;
  67.     a6:=GfxBase; jsr [a6-84];
  68.     pop a6;
  69. endp;                                                            # ASKSOFTSTYLE
  70.  
  71. pattern SetSoftStyle(_rp,_style,_enable) is
  72.     push a6;
  73.     safe a1:=_rp; d0.l:=_style; d1.l:=_enable;;
  74.     a6:=GfxBase; jsr [a6-90];
  75.     pop a6;
  76. endp;                                                            # SETSOFTSTYLE
  77.  
  78. pattern AddBob(_bob,_rp) is
  79.     push a6;
  80.     safe a0:=_bob; a1:=_rp;;
  81.     a6:=GfxBase; jsr [a6-96];
  82.     pop a6;
  83. endp;                                                            # ADDBOB
  84.  
  85. pattern AddVSprite(_vSprite,_rp) is
  86.     push a6;
  87.     safe a0:=_vSprite; a1:=_rp;;
  88.     a6:=GfxBase; jsr [a6-102];
  89.     pop a6;
  90. endp;                                                            # ADDVSPRITE
  91.  
  92. pattern DoCollision(_rp) is
  93.     push a6;
  94.     a1:=_rp;
  95.     a6:=GfxBase; jsr [a6-108];
  96.     pop a6;
  97. endp;                                                            # DOCOLLISION
  98.  
  99. pattern DrawGList(_rp,_vp) is
  100.     push a6;
  101.     safe a1:=_rp; a0:=_vp;;
  102.     a6:=GfxBase; jsr [a6-114];
  103.     pop a6;
  104. endp;                                                            # DRAWGLIST
  105.  
  106. pattern InitGels(_head,_tail,_gelsInfo) is
  107.     push a2\a6;
  108.     safe a0:=_head; a1:=_tail; a2:=_gelsInfo;;
  109.     a6:=GfxBase; jsr [a6-120];
  110.     pop a2\a6;
  111. endp;                                                            # INITGELS
  112.  
  113. pattern InitMasks(_vSprite) is
  114.     push a6;
  115.     a0:=_vSprite;
  116.     a6:=GfxBase; jsr [a6-126];
  117.     pop a6;
  118. endp;                                                            # INITMASKS
  119.  
  120. pattern RemIBob(_bob,_rp,_vp) is
  121.     push a2\a6;
  122.     safe a0:=_bob; a1:=_rp; a2:=_vp;;
  123.     a6:=GfxBase; jsr [a6-132];
  124.     pop a2\a6;
  125. endp;                                                            # REMIBOB
  126.  
  127. pattern RemVSprite(_vSprite) is
  128.     push a6;
  129.     a0:=_vSprite;
  130.     a6:=GfxBase; jsr [a6-138];
  131.     pop a6;
  132. endp;                                                            # REMVSPRITE
  133.  
  134. pattern SetCollision(_num,_routine,_gelsInfo) is
  135.     push a6;
  136.     safe d0.l:=_num; a0:=_routine; a1:=_gelsInfo;;
  137.     a6:=GfxBase; jsr [a6-144];
  138.     pop a6;
  139. endp;                                                            # SETCOLLISION
  140.  
  141. pattern SortGList(_rp) is
  142.     push a6;
  143.     a1:=_rp;
  144.     a6:=GfxBase; jsr [a6-150];
  145.     pop a6;
  146. endp;                                                            # SORTGLIST
  147.  
  148. pattern AddAnimOb(_anOb,_anKey,_rp) is
  149.     push a2\a6;
  150.     safe a0:=_anOb; a1:=_anKey; a2:=_rp;;
  151.     a6:=GfxBase; jsr [a6-156];
  152.     pop a2\a6;
  153. endp;                                                            # ADDANIMOB
  154.  
  155. pattern Animate(_anKey,_rp) is
  156.     push a6;
  157.     safe a0:=_anKey; a1:=_rp;;
  158.     a6:=GfxBase; jsr [a6-162];
  159.     pop a6;
  160. endp;                                                            # ANIMATE
  161.  
  162. pattern GetGBuffers(_anOb,_rp,_flag) is
  163.     push a6;
  164.     safe a0:=_anOb; a1:=_rp; d0.l:=_flag;;
  165.     a6:=GfxBase; jsr [a6-168];
  166.     pop a6;
  167. endp;                                                            # GETGBUFFERS
  168.  
  169. pattern InitGMasks(_anOb) is
  170.     push a6;
  171.     a0:=_anOb;
  172.     a6:=GfxBase; jsr [a6-174];
  173.     pop a6;
  174. endp;                                                            # INITGMASKS
  175.  
  176. pattern DrawEllipse(_rp,_xCenter,_yCenter,_a,_b) is
  177.     push d2\d3\a6;
  178.     safe a1:=_rp; d0.l:=_xCenter; d1.l:=_yCenter; d2.l:=_a; d3.l:=_b;;
  179.     a6:=GfxBase; jsr [a6-180];
  180.     pop d2\d3\a6;
  181. endp;                                                            # DRAWELLIPSE
  182.  
  183. pattern AreaEllipse(_rp,_xCenter,_yCenter,_a,_b) is
  184.     push d2\d3\a6;
  185.     safe a1:=_rp; d0.l:=_xCenter; d1.l:=_yCenter; d2.l:=_a; d3.l:=_b;;
  186.     a6:=GfxBase; jsr [a6-186];
  187.     pop d2\d3\a6;
  188. endp;                                                            # AREAELLIPSE
  189.  
  190. pattern LoadRGB4(_vp,_colors,_count) is
  191.     push a6;
  192.     safe a0:=_vp; a1:=_colors; d0.l:=_count;;
  193.     a6:=GfxBase; jsr [a6-192];
  194.     pop a6;
  195. endp;                                                            # LOADRGB4
  196.  
  197. pattern InitRastPort(_rp) is
  198.     push a6;
  199.     a1:=_rp;
  200.     a6:=GfxBase; jsr [a6-198];
  201.     pop a6;
  202. endp;                                                            # INITRASTPORT
  203.  
  204. pattern InitVPort(_vp) is
  205.     push a6;
  206.     a0:=_vp;
  207.     a6:=GfxBase; jsr [a6-204];
  208.     pop a6;
  209. endp;                                                            # INITVPORT
  210.  
  211. pattern MrgCop(_view) is
  212.     push a6;
  213.     a1:=_view;
  214.     a6:=GfxBase; jsr [a6-210];
  215.     pop a6;
  216. endp;                                                            # MRGCOP
  217.  
  218. pattern MakeVPort(_view,_vp) is
  219.     push a6;
  220.     safe a0:=_view; a1:=_vp;;
  221.     a6:=GfxBase; jsr [a6-216];
  222.     pop a6;
  223. endp;                                                            # MAKEVPORT
  224.  
  225. pattern LoadView(_view) is
  226.     push a6;
  227.     a1:=_view;
  228.     a6:=GfxBase; jsr [a6-222];
  229.     pop a6;
  230. endp;                                                            # LOADVIEW
  231.  
  232. pattern WaitBlit is
  233.     push a6;
  234.     a6:=GfxBase; jsr [a6-228];
  235.     pop a6;
  236. endp;                                                            # WAITBLIT
  237.  
  238. pattern SetRast(_rp,_pen) is
  239.     push a6;
  240.     safe a1:=_rp; d0.l:=_pen;;
  241.     a6:=GfxBase; jsr [a6-234];
  242.     pop a6;
  243. endp;                                                            # SETRAST
  244.  
  245. pattern gfxMove(_rp,_x,_y) is
  246.     push a6;
  247.     safe a1:=_rp; d0.l:=_x; d1.l:=_y;;
  248.     a6:=GfxBase; jsr [a6-240];
  249.     pop a6;
  250. endp;                                                            # GFXMOVE
  251.  
  252. pattern Draw(_rp,_x,_y) is
  253.     push a6;
  254.     safe a1:=_rp; d0.l:=_x; d1.l:=_y;;
  255.     a6:=GfxBase; jsr [a6-246];
  256.     pop a6;
  257. endp;                                                            # DRAW
  258.  
  259. pattern AreaMove(_rp,_x,_y) is
  260.     push a6;
  261.     safe a1:=_rp; d0.l:=_x; d1.l:=_y;;
  262.     a6:=GfxBase; jsr [a6-252];
  263.     pop a6;
  264. endp;                                                            # AREAMOVE
  265.  
  266. pattern AreaDraw(_rp,_x,_y) is
  267.     push a6;
  268.     safe a1:=_rp; d0.l:=_x; d1.l:=_y;;
  269.     a6:=GfxBase; jsr [a6-258];
  270.     pop a6;
  271. endp;                                                            # AREADRAW
  272.  
  273. pattern AreaEnd(_rp) is
  274.     push a6;
  275.     a1:=_rp;
  276.     a6:=GfxBase; jsr [a6-264];
  277.     pop a6;
  278. endp;                                                            # AREAEND
  279.  
  280. pattern WaitTOF is
  281.     push a6;
  282.     a6:=GfxBase; jsr [a6-270];
  283.     pop a6;
  284. endp;                                                            # WAITTOF
  285.  
  286. pattern QBlit(_blit) is
  287.     push a6;
  288.     a1:=_blit;
  289.     a6:=GfxBase; jsr [a6-276];
  290.     pop a6;
  291. endp;                                                            # QBLIT
  292.  
  293. pattern InitArea(_areaInfo,_vectorBuffer,_maxVectors) is
  294.     push a6;
  295.     safe a0:=_areaInfo; a1:=_vectorBuffer; d0.l:=_maxVectors;;
  296.     a6:=GfxBase; jsr [a6-282];
  297.     pop a6;
  298. endp;                                                            # INITAREA
  299.  
  300. pattern SetRGB4(_vp,_index,_red,_green,_blue) is
  301.     push d2\d3\a6;
  302.     safe a0:=_vp; d0.l:=_index; d1.l:=_red; d2.l:=_green; d3.l:=_blue;;
  303.     a6:=GfxBase; jsr [a6-288];
  304.     pop d2\d3\a6;
  305. endp;                                                            # SETRGB4
  306.  
  307. pattern QBSBlit(_blit) is
  308.     push a6;
  309.     a1:=_blit;
  310.     a6:=GfxBase; jsr [a6-294];
  311.     pop a6;
  312. endp;                                                            # QBSBLIT
  313.  
  314. pattern BltClear(_memBlock,_byteCount,_flags) is
  315.     push a6;
  316.     safe a1:=_memBlock; d0.l:=_byteCount; d1.l:=_flags;;
  317.     a6:=GfxBase; jsr [a6-300];
  318.     pop a6;
  319. endp;                                                            # BLTCLEAR
  320.  
  321. pattern RectFill(_rp,_xMin,_yMin,_xMax,_yMax) is
  322.     push d2\d3\a6;
  323.     safe a1:=_rp; d0.l:=_xMin; d1.l:=_yMin; d2.l:=_xMax; d3.l:=_yMax;;
  324.     a6:=GfxBase; jsr [a6-306];
  325.     pop d2\d3\a6;
  326. endp;                                                            # RECTFILL
  327.  
  328. pattern BltPattern(_rp,_mask,_xMin,_yMin,_xMax,_yMax,_maskBPR) is
  329.     push d2\d3\d4\a6;
  330.     safe a1:=_rp; a0:=_mask; d0.l:=_xMin; d1.l:=_yMin; d2.l:=_xMax; d3.l:=_yMax; d4.l:=_maskBPR;;
  331.     a6:=GfxBase; jsr [a6-312];
  332.     pop d2\d3\d4\a6;
  333. endp;                                                            # BLTPATTERN
  334.  
  335. pattern ReadPixel(_rp,_x,_y) is
  336.     push a6;
  337.     safe a1:=_rp; d0.l:=_x; d1.l:=_y;;
  338.     a6:=GfxBase; jsr [a6-318];
  339.     pop a6;
  340. endp;                                                            # READPIXEL
  341.  
  342. pattern WritePixel(_rp,_x,_y) is
  343.     push a6;
  344.     safe a1:=_rp; d0.l:=_x; d1.l:=_y;;
  345.     a6:=GfxBase; jsr [a6-324];
  346.     pop a6;
  347. endp;                                                            # WRITEPIXEL
  348.  
  349. pattern Flood(_rp,_mode,_x,_y) is
  350.     push d2\a6;
  351.     safe a1:=_rp; d2.l:=_mode; d0.l:=_x; d1.l:=_y;;
  352.     a6:=GfxBase; jsr [a6-330];
  353.     pop d2\a6;
  354. endp;                                                            # FLOOD
  355.  
  356. pattern PolyDraw(_rp,_count,_polyTable) is
  357.     push a6;
  358.     safe a1:=_rp; d0.l:=_count; a0:=_polyTable;;
  359.     a6:=GfxBase; jsr [a6-336];
  360.     pop a6;
  361. endp;                                                            # POLYDRAW
  362.  
  363. pattern SetAPen(_rp,_pen) is
  364.     push a6;
  365.     safe a1:=_rp; d0.l:=_pen;;
  366.     a6:=GfxBase; jsr [a6-342];
  367.     pop a6;
  368. endp;                                                            # SETAPEN
  369.  
  370. pattern SetBPen(_rp,_pen) is
  371.     push a6;
  372.     safe a1:=_rp; d0.l:=_pen;;
  373.     a6:=GfxBase; jsr [a6-348];
  374.     pop a6;
  375. endp;                                                            # SETBPEN
  376.  
  377. pattern SetDrMd(_rp,_drawMode) is
  378.     push a6;
  379.     safe a1:=_rp; d0.l:=_drawMode;;
  380.     a6:=GfxBase; jsr [a6-354];
  381.     pop a6;
  382. endp;                                                            # SETDRMD
  383.  
  384. pattern InitView(_view) is
  385.     push a6;
  386.     a1:=_view;
  387.     a6:=GfxBase; jsr [a6-360];
  388.     pop a6;
  389. endp;                                                            # INITVIEW
  390.  
  391. pattern CBump(_copList) is
  392.     push a6;
  393.     a1:=_copList;
  394.     a6:=GfxBase; jsr [a6-366];
  395.     pop a6;
  396. endp;                                                            # CBUMP
  397.  
  398. pattern CMove(_copList,_destination,_data) is
  399.     push a6;
  400.     safe a1:=_copList; d0.l:=_destination; d1.l:=_data;;
  401.     a6:=GfxBase; jsr [a6-372];
  402.     pop a6;
  403. endp;                                                            # CMOVE
  404.  
  405. pattern CWait(_copList,_v,_h) is
  406.     push a6;
  407.     safe a1:=_copList; d0.l:=_v; d1.l:=_h;;
  408.     a6:=GfxBase; jsr [a6-378];
  409.     pop a6;
  410. endp;                                                            # CWAIT
  411.  
  412. pattern VBeamPos is
  413.     push a6;
  414.     a6:=GfxBase; jsr [a6-384];
  415.     pop a6;
  416. endp;                                                            # VBEAMPOS
  417.  
  418. pattern InitBitMap(_bitMap,_depth,_width,_height) is
  419.     push d2\a6;
  420.     safe a0:=_bitMap; d0.l:=_depth; d1.l:=_width; d2.l:=_height;;
  421.     a6:=GfxBase; jsr [a6-390];
  422.     pop d2\a6;
  423. endp;                                                            # INITBITMAP
  424.  
  425. pattern ScrollRaster(_rp,_dx,_dy,_xMin,_yMin,_xMax,_yMax) is
  426.     push d2\d3\d4\d5\a6;
  427.     safe a1:=_rp; d0.l:=_dx; d1.l:=_dy; d2.l:=_xMin; d3.l:=_yMin; d4.l:=_xMax; d5.l:=_yMax;;
  428.     a6:=GfxBase; jsr [a6-396];
  429.     pop d2\d3\d4\d5\a6;
  430. endp;                                                            # SCROLLRASTER
  431.  
  432. pattern WaitBOVP(_vp) is
  433.     push a6;
  434.     a0:=_vp;
  435.     a6:=GfxBase; jsr [a6-402];
  436.     pop a6;
  437. endp;                                                            # WAITBOVP
  438.  
  439. pattern GetSprite(_sprite,_num) is
  440.     push a6;
  441.     safe a0:=_sprite; d0.l:=_num;;
  442.     a6:=GfxBase; jsr [a6-408];
  443.     pop a6;
  444. endp;                                                            # GETSPRITE
  445.  
  446. pattern FreeSprite(_num) is
  447.     push a6;
  448.     d0.l:=_num;
  449.     a6:=GfxBase; jsr [a6-414];
  450.     pop a6;
  451. endp;                                                            # FREESPRITE
  452.  
  453. pattern ChangeSprite(_vp,_sprite,_newData) is
  454.     push a2\a6;
  455.     safe a0:=_vp; a1:=_sprite; a2:=_newData;;
  456.     a6:=GfxBase; jsr [a6-420];
  457.     pop a2\a6;
  458. endp;                                                            # CHANGESPRITE
  459.  
  460. pattern MoveSprite(_vp,_sprite,_x,_y) is
  461.     push a6;
  462.     safe a0:=_vp; a1:=_sprite; d0.l:=_x; d1.l:=_y;;
  463.     a6:=GfxBase; jsr [a6-426];
  464.     pop a6;
  465. endp;                                                            # MOVESPRITE
  466.  
  467. pattern LockLayerRom(_layer) is
  468.     push a5\a6;
  469.     a5:=_layer;
  470.     a6:=GfxBase; jsr [a6-432];
  471.     pop a5\a6;
  472. endp;                                                            # LOCKLAYERROM
  473.  
  474. pattern UnlockLayerRom(_layer) is
  475.     push a5\a6;
  476.     a5:=_layer;
  477.     a6:=GfxBase; jsr [a6-438];
  478.     pop a5\a6;
  479. endp;                                                            # UNLOCKLAYERROM
  480.  
  481. pattern SyncSBitMap(_layer) is
  482.     push a6;
  483.     a0:=_layer;
  484.     a6:=GfxBase; jsr [a6-444];
  485.     pop a6;
  486. endp;                                                            # SYNCSBITMAP
  487.  
  488. pattern CopySBitMap(_layer) is
  489.     push a6;
  490.     a0:=_layer;
  491.     a6:=GfxBase; jsr [a6-450];
  492.     pop a6;
  493. endp;                                                            # COPYSBITMAP
  494.  
  495. pattern OwnBlitter is
  496.     push a6;
  497.     a6:=GfxBase; jsr [a6-456];
  498.     pop a6;
  499. endp;                                                            # OWNBLITTER
  500.  
  501. pattern DisownBlitter is
  502.     push a6;
  503.     a6:=GfxBase; jsr [a6-462];
  504.     pop a6;
  505. endp;                                                            # DISOWNBLITTER
  506.  
  507. pattern InitTmpRas(_tmpRas,_buffer,_size) is
  508.     push a6;
  509.     safe a0:=_tmpRas; a1:=_buffer; d0.l:=_size;;
  510.     a6:=GfxBase; jsr [a6-468];
  511.     pop a6;
  512. endp;                                                            # INITTMPRAS
  513.  
  514. pattern AskFont(_rp,_textAttr) is
  515.     push a6;
  516.     safe a1:=_rp; a0:=_textAttr;;
  517.     a6:=GfxBase; jsr [a6-474];
  518.     pop a6;
  519. endp;                                                            # ASKFONT
  520.  
  521. pattern AddFont(_textFont) is
  522.     push a6;
  523.     a1:=_textFont;
  524.     a6:=GfxBase; jsr [a6-480];
  525.     pop a6;
  526. endp;                                                            # ADDFONT
  527.  
  528. pattern RemFont(_textFont) is
  529.     push a6;
  530.     a1:=_textFont;
  531.     a6:=GfxBase; jsr [a6-486];
  532.     pop a6;
  533. endp;                                                            # REMFONT
  534.  
  535. pattern AllocRaster(_width,_height) is
  536.     push a6;
  537.     safe d0.l:=_width; d1.l:=_height;;
  538.     a6:=GfxBase; jsr [a6-492];
  539.     pop a6;
  540. endp;                                                            # ALLOCRASTER
  541.  
  542. pattern FreeRaster(_p,_width,_height) is
  543.     push a6;
  544.     safe a0:=_p; d0.l:=_width; d1.l:=_height;;
  545.     a6:=GfxBase; jsr [a6-498];
  546.     pop a6;
  547. endp;                                                            # FREERASTER
  548.  
  549. pattern AndRectRegion(_region,_rectangle) is
  550.     push a6;
  551.     safe a0:=_region; a1:=_rectangle;;
  552.     a6:=GfxBase; jsr [a6-504];
  553.     pop a6;
  554. endp;                                                            # ANDRECTREGION
  555.  
  556. pattern OrRectRegion(_region,_rectangle) is
  557.     push a6;
  558.     safe a0:=_region; a1:=_rectangle;;
  559.     a6:=GfxBase; jsr [a6-510];
  560.     pop a6;
  561. endp;                                                            # ORRECTREGION
  562.  
  563. pattern NewRegion is
  564.     push a6;
  565.     a6:=GfxBase; jsr [a6-516];
  566.     pop a6;
  567. endp;                                                            # NEWREGION
  568.  
  569. pattern ClearRectRegion(_region,_rectangle) is
  570.     push a6;
  571.     safe a0:=_region; a1:=_rectangle;;
  572.     a6:=GfxBase; jsr [a6-522];
  573.     pop a6;
  574. endp;                                                            # CLEARRECTREGION
  575.  
  576. pattern ClearRegion(_region) is
  577.     push a6;
  578.     a0:=_region;
  579.     a6:=GfxBase; jsr [a6-528];
  580.     pop a6;
  581. endp;                                                            # CLEARREGION
  582.  
  583. pattern DisposeRegion(_region) is
  584.     push a6;
  585.     a0:=_region;
  586.     a6:=GfxBase; jsr [a6-534];
  587.     pop a6;
  588. endp;                                                            # DISPOSEREGION
  589.  
  590. pattern FreeVPortCopLists(_vp) is
  591.     push a6;
  592.     a0:=_vp;
  593.     a6:=GfxBase; jsr [a6-540];
  594.     pop a6;
  595. endp;                                                            # FREEVPORTCOPLISTS
  596.  
  597. pattern FreeCopList(_copList) is
  598.     push a6;
  599.     a0:=_copList;
  600.     a6:=GfxBase; jsr [a6-546];
  601.     pop a6;
  602. endp;                                                            # FREECOPLIST
  603.  
  604. pattern ClipBlit(_srcRP,_xSrc,_ySrc,_destRP,_xDest,_yDest,_xSize,_ySize,_minterm) is
  605.     push d2\d3\d4\d5\d6\a6;
  606.     safe a0:=_srcRP; d0.l:=_xSrc; d1.l:=_ySrc; a1:=_destRP; d2.l:=_xDest; d3.l:=_yDest; d4.l:=_xSize; d5.l:=_ySize; d6.l:=_minterm;;
  607.     a6:=GfxBase; jsr [a6-552];
  608.     pop d2\d3\d4\d5\d6\a6;
  609. endp;                                                            # CLIPBLIT
  610.  
  611. pattern XorRectRegion(_region,_rectangle) is
  612.     push a6;
  613.     safe a0:=_region; a1:=_rectangle;;
  614.     a6:=GfxBase; jsr [a6-558];
  615.     pop a6;
  616. endp;                                                            # XORRECTREGION
  617.  
  618. pattern FreeCprList(_cprList) is
  619.     push a6;
  620.     a0:=_cprList;
  621.     a6:=GfxBase; jsr [a6-564];
  622.     pop a6;
  623. endp;                                                            # FREECPRLIST
  624.  
  625. pattern GetColorMap(_entries) is
  626.     push a6;
  627.     d0.l:=_entries;
  628.     a6:=GfxBase; jsr [a6-570];
  629.     pop a6;
  630. endp;                                                            # GETCOLORMAP
  631.  
  632. pattern FreeColorMap(_colorMap) is
  633.     push a6;
  634.     a0:=_colorMap;
  635.     a6:=GfxBase; jsr [a6-576];
  636.     pop a6;
  637. endp;                                                            # FREECOLORMAP
  638.  
  639. pattern GetRGB4(_colorMap,_entry) is
  640.     push a6;
  641.     safe a0:=_colorMap; d0.l:=_entry;;
  642.     a6:=GfxBase; jsr [a6-582];
  643.     pop a6;
  644. endp;                                                            # GETRGB4
  645.  
  646. pattern ScrollVPort(_vp) is
  647.     push a6;
  648.     a0:=_vp;
  649.     a6:=GfxBase; jsr [a6-588];
  650.     pop a6;
  651. endp;                                                            # SCROLLVPORT
  652.  
  653. pattern UCopperListInit(_uCopList,_n) is
  654.     push a6;
  655.     safe a0:=_uCopList; d0.l:=_n;;
  656.     a6:=GfxBase; jsr [a6-594];
  657.     pop a6;
  658. endp;                                                            # UCOPPERLISTINIT
  659.  
  660. pattern FreeGBuffers(_anOb,_rp,_flag) is
  661.     push a6;
  662.     safe a0:=_anOb; a1:=_rp; d0.l:=_flag;;
  663.     a6:=GfxBase; jsr [a6-600];
  664.     pop a6;
  665. endp;                                                            # FREEGBUFFERS
  666.  
  667. pattern BltBitMapRastPort(_srcBitMap,_xSrc,_ySrc,_destRP,_xDest,_yDest,_xSize,_ySize,_minterm) is
  668.     push d2\d3\d4\d5\d6\a6;
  669.     safe a0:=_srcBitMap; d0.l:=_xSrc; d1.l:=_ySrc; a1:=_destRP; d2.l:=_xDest; d3.l:=_yDest; d4.l:=_xSize; d5.l:=_ySize; d6.l:=_minterm;;
  670.     a6:=GfxBase; jsr [a6-606];
  671.     pop d2\d3\d4\d5\d6\a6;
  672. endp;                                                            # BLTBITMAPRASTPORT
  673.  
  674. pattern OrRegionRegion(_srcRegion,_destRegion) is
  675.     push a6;
  676.     safe a0:=_srcRegion; a1:=_destRegion;;
  677.     a6:=GfxBase; jsr [a6-612];
  678.     pop a6;
  679. endp;                                                            # ORREGIONREGION
  680.  
  681. pattern XorRegionRegion(_srcRegion,_destRegion) is
  682.     push a6;
  683.     safe a0:=_srcRegion; a1:=_destRegion;;
  684.     a6:=GfxBase; jsr [a6-618];
  685.     pop a6;
  686. endp;                                                            # XORREGIONREGION
  687.  
  688. pattern AndRegionRegion(_srcRegion,_destRegion) is
  689.     push a6;
  690.     safe a0:=_srcRegion; a1:=_destRegion;;
  691.     a6:=GfxBase; jsr [a6-624];
  692.     pop a6;
  693. endp;                                                            # ANDREGIONREGION
  694.  
  695. pattern SetRGB4CM(_colorMap,_index,_red,_green,_blue) is
  696.     push d2\d3\a6;
  697.     safe a0:=_colorMap; d0.l:=_index; d1.l:=_red; d2.l:=_green; d3.l:=_blue;;
  698.     a6:=GfxBase; jsr [a6-630];
  699.     pop d2\d3\a6;
  700. endp;                                                            # SETRGB4CM
  701.  
  702. pattern BltMaskBitMapRastPort(_srcBitMap,_xSrc,_ySrc,_destRP,_xDest,_yDest,_xSize,_ySize,_minterm,_bltMask) is
  703.     push d2\d3\d4\d5\d6\a2\a6;
  704.     safe a0:=_srcBitMap; d0.l:=_xSrc; d1.l:=_ySrc; a1:=_destRP; d2.l:=_xDest; d3.l:=_yDest; d4.l:=_xSize; d5.l:=_ySize; d6.l:=_minterm; a2:=_bltMask;;
  705.     a6:=GfxBase; jsr [a6-636];
  706.     pop d2\d3\d4\d5\d6\a2\a6;
  707. endp;                                                            # BLTMASKBITMAPRASTPORT
  708.  
  709. pattern graphicsPrivate1 is
  710.     push a6;
  711.     a6:=GfxBase; jsr [a6-642];
  712.     pop a6;
  713. endp;                                                            # GRAPHICSPRIVATE1
  714.  
  715. pattern graphicsPrivate2 is
  716.     push a6;
  717.     a6:=GfxBase; jsr [a6-648];
  718.     pop a6;
  719. endp;                                                            # GRAPHICSPRIVATE2
  720.  
  721. pattern AttemptLockLayerRom(_layer) is
  722.     push a5\a6;
  723.     a5:=_layer;
  724.     a6:=GfxBase; jsr [a6-654];
  725.     pop a5\a6;
  726. endp;                                                            # ATTEMPTLOCKLAYERROM
  727.  
  728. pattern GfxNew(_gfxNodeType) is
  729.     push a6;
  730.     d0.l:=_gfxNodeType;
  731.     a6:=GfxBase; jsr [a6-660];
  732.     pop a6;
  733. endp;                                                            # GFXNEW
  734.  
  735. pattern GfxFree(_gfxNodePtr) is
  736.     push a6;
  737.     a0:=_gfxNodePtr;
  738.     a6:=GfxBase; jsr [a6-666];
  739.     pop a6;
  740. endp;                                                            # GFXFREE
  741.  
  742. pattern GfxAssociate(_associateNode,_gfxNodePtr) is
  743.     push a6;
  744.     safe a0:=_associateNode; a1:=_gfxNodePtr;;
  745.     a6:=GfxBase; jsr [a6-672];
  746.     pop a6;
  747. endp;                                                            # GFXASSOCIATE
  748.  
  749. pattern BitMapScale(_bitScaleArgs) is
  750.     push a6;
  751.     a0:=_bitScaleArgs;
  752.     a6:=GfxBase; jsr [a6-678];
  753.     pop a6;
  754. endp;                                                            # BITMAPSCALE
  755.  
  756. pattern ScalerDiv(_factor,_numerator,_denominator) is
  757.     push d2\a6;
  758.     safe d0.l:=_factor; d1.l:=_numerator; d2.l:=_denominator;;
  759.     a6:=GfxBase; jsr [a6-684];
  760.     pop d2\a6;
  761. endp;                                                            # SCALERDIV
  762.  
  763. pattern gfxTextExtent(_rp,_string,_count,_textExtent) is
  764.     push a2\a6;
  765.     safe a1:=_rp; a0:=_string; d0.l:=_count; a2:=_textExtent;;
  766.     a6:=GfxBase; jsr [a6-690];
  767.     pop a2\a6;
  768. endp;                                                            # GFXTEXTEXTENT
  769.  
  770. pattern TextFit(_rp,_string,_strLen,_textExtent,_constrainingExtent,_strDirection,_constrainingBitWidth,_constrainingBitHeight) is
  771.     push d2\d3\a2\a3\a6;
  772.     safe a1:=_rp; a0:=_string; d0.l:=_strLen; a2:=_textExtent; a3:=_constrainingExtent; d1.l:=_strDirection; d2.l:=_constrainingBitWidth; d3.l:=_constrainingBitHeight;;
  773.     a6:=GfxBase; jsr [a6-696];
  774.     pop d2\d3\a2\a3\a6;
  775. endp;                                                            # TEXTFIT
  776.  
  777. pattern GfxLookUp(_associateNode) is
  778.     push a6;
  779.     a0:=_associateNode;
  780.     a6:=GfxBase; jsr [a6-702];
  781.     pop a6;
  782. endp;                                                            # GFXLOOKUP
  783.  
  784. pattern VideoControl(_colorMap,_tagarray) is
  785.     push a6;
  786.     safe a0:=_colorMap; a1:=_tagarray;;
  787.     a6:=GfxBase; jsr [a6-708];
  788.     pop a6;
  789. endp;                                                            # VIDEOCONTROL
  790.  
  791. pattern OpenMonitor(_monitorName,_displayID) is
  792.     push a6;
  793.     safe a1:=_monitorName; d0.l:=_displayID;;
  794.     a6:=GfxBase; jsr [a6-714];
  795.     pop a6;
  796. endp;                                                            # OPENMONITOR
  797.  
  798. pattern CloseMonitor(_monitorSpec) is
  799.     push a6;
  800.     a0:=_monitorSpec;
  801.     a6:=GfxBase; jsr [a6-720];
  802.     pop a6;
  803. endp;                                                            # CLOSEMONITOR
  804.  
  805. pattern FindDisplayInfo(_displayID) is
  806.     push a6;
  807.     d0.l:=_displayID;
  808.     a6:=GfxBase; jsr [a6-726];
  809.     pop a6;
  810. endp;                                                            # FINDDISPLAYINFO
  811.  
  812. pattern NextDisplayInfo(_displayID) is
  813.     push a6;
  814.     d0.l:=_displayID;
  815.     a6:=GfxBase; jsr [a6-732];
  816.     pop a6;
  817. endp;                                                            # NEXTDISPLAYINFO
  818.  
  819. pattern graphicsPrivate3 is
  820.     push a6;
  821.     a6:=GfxBase; jsr [a6-738];
  822.     pop a6;
  823. endp;                                                            # GRAPHICSPRIVATE3
  824.  
  825. pattern graphicsPrivate4 is
  826.     push a6;
  827.     a6:=GfxBase; jsr [a6-744];
  828.     pop a6;
  829. endp;                                                            # GRAPHICSPRIVATE4
  830.  
  831. pattern graphicsPrivate5 is
  832.     push a6;
  833.     a6:=GfxBase; jsr [a6-750];
  834.     pop a6;
  835. endp;                                                            # GRAPHICSPRIVATE5
  836.  
  837. pattern GetDisplayInfoData(_handle,_buf,_size,_tagID,_displayID) is
  838.     push d2\a6;
  839.     safe a0:=_handle; a1:=_buf; d0.l:=_size; d1.l:=_tagID; d2.l:=_displayID;;
  840.     a6:=GfxBase; jsr [a6-756];
  841.     pop d2\a6;
  842. endp;                                                            # GETDISPLAYINFODATA
  843.  
  844. pattern FontExtent(_font,_fontExtent) is
  845.     push a6;
  846.     safe a0:=_font; a1:=_fontExtent;;
  847.     a6:=GfxBase; jsr [a6-762];
  848.     pop a6;
  849. endp;                                                            # FONTEXTENT
  850.  
  851. pattern ReadPixelLine8(_rp,_xstart,_ystart,_width,_array,_tempRP) is
  852.     push d2\a2\a6;
  853.     safe a0:=_rp; d0.l:=_xstart; d1.l:=_ystart; d2.l:=_width; a2:=_array; a1:=_tempRP;;
  854.     a6:=GfxBase; jsr [a6-768];
  855.     pop d2\a2\a6;
  856. endp;                                                            # READPIXELLINE8
  857.  
  858. pattern WritePixelLine8(_rp,_xstart,_ystart,_width,_array,_tempRP) is
  859.     push d2\a2\a6;
  860.     safe a0:=_rp; d0.l:=_xstart; d1.l:=_ystart; d2.l:=_width; a2:=_array; a1:=_tempRP;;
  861.     a6:=GfxBase; jsr [a6-774];
  862.     pop d2\a2\a6;
  863. endp;                                                            # WRITEPIXELLINE8
  864.  
  865. pattern ReadPixelArray8(_rp,_xstart,_ystart,_xstop,_ystop,_array,_temprp) is
  866.     push d2\d3\a2\a6;
  867.     safe a0:=_rp; d0.l:=_xstart; d1.l:=_ystart; d2.l:=_xstop; d3.l:=_ystop; a2:=_array; a1:=_temprp;;
  868.     a6:=GfxBase; jsr [a6-780];
  869.     pop d2\d3\a2\a6;
  870. endp;                                                            # READPIXELARRAY8
  871.  
  872. pattern WritePixelArray8(_rp,_xstart,_ystart,_xstop,_ystop,_array,_temprp) is
  873.     push d2\d3\a2\a6;
  874.     safe a0:=_rp; d0.l:=_xstart; d1.l:=_ystart; d2.l:=_xstop; d3.l:=_ystop; a2:=_array; a1:=_temprp;;
  875.     a6:=GfxBase; jsr [a6-786];
  876.     pop d2\d3\a2\a6;
  877. endp;                                                            # WRITEPIXELARRAY8
  878.  
  879. pattern GetVPModeID(_vp) is
  880.     push a6;
  881.     a0:=_vp;
  882.     a6:=GfxBase; jsr [a6-792];
  883.     pop a6;
  884. endp;                                                            # GETVPMODEID
  885.  
  886. pattern ModeNotAvailable(_modeID) is
  887.     push a6;
  888.     d0.l:=_modeID;
  889.     a6:=GfxBase; jsr [a6-798];
  890.     pop a6;
  891. endp;                                                            # MODENOTAVAILABLE
  892.  
  893. pattern WeighTAMatch(_reqTextAttr,_targetTextAttr,_targetTags) is
  894.     push a2\a6;
  895.     safe a0:=_reqTextAttr; a1:=_targetTextAttr; a2:=_targetTags;;
  896.     a6:=GfxBase; jsr [a6-804];
  897.     pop a2\a6;
  898. endp;                                                            # WEIGHTAMATCH
  899.  
  900. pattern EraseRect(_rp,_xMin,_yMin,_xMax,_yMax) is
  901.     push d2\d3\a6;
  902.     safe a1:=_rp; d0.l:=_xMin; d1.l:=_yMin; d2.l:=_xMax; d3.l:=_yMax;;
  903.     a6:=GfxBase; jsr [a6-810];
  904.     pop d2\d3\a6;
  905. endp;                                                            # ERASERECT
  906.  
  907. pattern ExtendFont(_font,_fontTags) is
  908.     push a6;
  909.     safe a0:=_font; a1:=_fontTags;;
  910.     a6:=GfxBase; jsr [a6-816];
  911.     pop a6;
  912. endp;                                                            # EXTENDFONT
  913.  
  914. pattern StripFont(_font) is
  915.     push a6;
  916.     a0:=_font;
  917.     a6:=GfxBase; jsr [a6-822];
  918.     pop a6;
  919. endp;                                                            # STRIPFONT
  920.  
  921. pattern CalcIVG(_v,_vp) is
  922.     push a6;
  923.     safe a0:=_v; a1:=_vp;;
  924.     a6:=GfxBase; jsr [a6-828];
  925.     pop a6;
  926. endp;                                                            # CALCIVG
  927.  
  928. pattern AttachPalExtra(_cm,_vp) is
  929.     push a6;
  930.     safe a0:=_cm; a1:=_vp;;
  931.     a6:=GfxBase; jsr [a6-834];
  932.     pop a6;
  933. endp;                                                            # ATTACHPALEXTRA
  934.  
  935. pattern ObtainBestPenA(_cm,_r,_g,_b,_tags) is
  936.     push d2\d3\a6;
  937.     safe a0:=_cm; d1.l:=_r; d2.l:=_g; d3.l:=_b; a1:=_tags;;
  938.     a6:=GfxBase; jsr [a6-840];
  939.     pop d2\d3\a6;
  940. endp;                                                            # OBTAINBESTPENA
  941.  
  942. pattern graphicsPrivate6 is
  943.     push a6;
  944.     a6:=GfxBase; jsr [a6-846];
  945.     pop a6;
  946. endp;                                                            # GRAPHICSPRIVATE6
  947.  
  948. pattern SetRGB32(_vp,_n,_r,_g,_b) is
  949.     push d2\d3\a6;
  950.     safe a0:=_vp; d0.l:=_n; d1.l:=_r; d2.l:=_g; d3.l:=_b;;
  951.     a6:=GfxBase; jsr [a6-852];
  952.     pop d2\d3\a6;
  953. endp;                                                            # SETRGB32
  954.  
  955. pattern GetAPen(_rp) is
  956.     push a6;
  957.     a0:=_rp;
  958.     a6:=GfxBase; jsr [a6-858];
  959.     pop a6;
  960. endp;                                                            # GETAPEN
  961.  
  962. pattern GetBPen(_rp) is
  963.     push a6;
  964.     a0:=_rp;
  965.     a6:=GfxBase; jsr [a6-864];
  966.     pop a6;
  967. endp;                                                            # GETBPEN
  968.  
  969. pattern GetDrMd(_rp) is
  970.     push a6;
  971.     a0:=_rp;
  972.     a6:=GfxBase; jsr [a6-870];
  973.     pop a6;
  974. endp;                                                            # GETDRMD
  975.  
  976. pattern GetOutlinePen(_rp) is
  977.     push a6;
  978.     a0:=_rp;
  979.     a6:=GfxBase; jsr [a6-876];
  980.     pop a6;
  981. endp;                                                            # GETOUTLINEPEN
  982.  
  983. pattern LoadRGB32(_vp,_table) is
  984.     push a6;
  985.     safe a0:=_vp; a1:=_table;;
  986.     a6:=GfxBase; jsr [a6-882];
  987.     pop a6;
  988. endp;                                                            # LOADRGB32
  989.  
  990. pattern SetChipRev(_want) is
  991.     push a6;
  992.     d0.l:=_want;
  993.     a6:=GfxBase; jsr [a6-888];
  994.     pop a6;
  995. endp;                                                            # SETCHIPREV
  996.  
  997. pattern SetABPenDrMd(_rp,_apen,_bpen,_drawmode) is
  998.     push d2\a6;
  999.     safe a1:=_rp; d0.l:=_apen; d1.l:=_bpen; d2.l:=_drawmode;;
  1000.     a6:=GfxBase; jsr [a6-894];
  1001.     pop d2\a6;
  1002. endp;                                                            # SETABPENDRMD
  1003.  
  1004. pattern GetRGB32(_cm,_firstcolor,_ncolors,_table) is
  1005.     push a6;
  1006.     safe a0:=_cm; d0.l:=_firstcolor; d1.l:=_ncolors; a1:=_table;;
  1007.     a6:=GfxBase; jsr [a6-900];
  1008.     pop a6;
  1009. endp;                                                            # GETRGB32
  1010.  
  1011. pattern graphicsPrivate7 is
  1012.     push a6;
  1013.     a6:=GfxBase; jsr [a6-906];
  1014.     pop a6;
  1015. endp;                                                            # GRAPHICSPRIVATE7
  1016.  
  1017. pattern graphicsPrivate8 is
  1018.     push a6;
  1019.     a6:=GfxBase; jsr [a6-912];
  1020.     pop a6;
  1021. endp;                                                            # GRAPHICSPRIVATE8
  1022.  
  1023. pattern AllocBitMap(_sizex,_sizey,_depth,_flags,_friend_bitmap) is
  1024.     push d2\d3\a6;
  1025.     safe d0.l:=_sizex; d1.l:=_sizey; d2.l:=_depth; d3.l:=_flags; a0:=_friend_bitmap;;
  1026.     a6:=GfxBase; jsr [a6-918];
  1027.     pop d2\d3\a6;
  1028. endp;                                                            # ALLOCBITMAP
  1029.  
  1030. pattern FreeBitMap(_bm) is
  1031.     push a6;
  1032.     a0:=_bm;
  1033.     a6:=GfxBase; jsr [a6-924];
  1034.     pop a6;
  1035. endp;                                                            # FREEBITMAP
  1036.  
  1037. pattern GetExtSpriteA(_ss,_tags) is
  1038.     push a2\a6;
  1039.     safe a2:=_ss; a1:=_tags;;
  1040.     a6:=GfxBase; jsr [a6-930];
  1041.     pop a2\a6;
  1042. endp;                                                            # GETEXTSPRITEA
  1043.  
  1044. pattern CoerceMode(_vp,_monitorid,_flags) is
  1045.     push a6;
  1046.     safe a0:=_vp; d0.l:=_monitorid; d1.l:=_flags;;
  1047.     a6:=GfxBase; jsr [a6-936];
  1048.     pop a6;
  1049. endp;                                                            # COERCEMODE
  1050.  
  1051. pattern ChangeVPBitMap(_vp,_bm,_db) is
  1052.     push a2\a6;
  1053.     safe a0:=_vp; a1:=_bm; a2:=_db;;
  1054.     a6:=GfxBase; jsr [a6-942];
  1055.     pop a2\a6;
  1056. endp;                                                            # CHANGEVPBITMAP
  1057.  
  1058. pattern ReleasePen(_cm,_n) is
  1059.     push a6;
  1060.     safe a0:=_cm; d0.l:=_n;;
  1061.     a6:=GfxBase; jsr [a6-948];
  1062.     pop a6;
  1063. endp;                                                            # RELEASEPEN
  1064.  
  1065. pattern ObtainPen(_cm,_n,_r,_g,_b,_f) is
  1066.     push d2\d3\d4\a6;
  1067.     safe a0:=_cm; d0.l:=_n; d1.l:=_r; d2.l:=_g; d3.l:=_b; d4.l:=_f;;
  1068.     a6:=GfxBase; jsr [a6-954];
  1069.     pop d2\d3\d4\a6;
  1070. endp;                                                            # OBTAINPEN
  1071.  
  1072. pattern GetBitMapAttr(_bm,_attrnum) is
  1073.     push a6;
  1074.     safe a0:=_bm; d1.l:=_attrnum;;
  1075.     a6:=GfxBase; jsr [a6-960];
  1076.     pop a6;
  1077. endp;                                                            # GETBITMAPATTR
  1078.  
  1079. pattern AllocDBufInfo(_vp) is
  1080.     push a6;
  1081.     a0:=_vp;
  1082.     a6:=GfxBase; jsr [a6-966];
  1083.     pop a6;
  1084. endp;                                                            # ALLOCDBUFINFO
  1085.  
  1086. pattern FreeDBufInfo(_dbi) is
  1087.     push a6;
  1088.     a1:=_dbi;
  1089.     a6:=GfxBase; jsr [a6-972];
  1090.     pop a6;
  1091. endp;                                                            # FREEDBUFINFO
  1092.  
  1093. pattern SetOutlinePen(_rp,_pen) is
  1094.     push a6;
  1095.     safe a0:=_rp; d0.l:=_pen;;
  1096.     a6:=GfxBase; jsr [a6-978];
  1097.     pop a6;
  1098. endp;                                                            # SETOUTLINEPEN
  1099.  
  1100. pattern SetWriteMask(_rp,_msk) is
  1101.     push a6;
  1102.     safe a0:=_rp; d0.l:=_msk;;
  1103.     a6:=GfxBase; jsr [a6-984];
  1104.     pop a6;
  1105. endp;                                                            # SETWRITEMASK
  1106.  
  1107. pattern SetMaxPen(_rp,_maxpen) is
  1108.     push a6;
  1109.     safe a0:=_rp; d0.l:=_maxpen;;
  1110.     a6:=GfxBase; jsr [a6-990];
  1111.     pop a6;
  1112. endp;                                                            # SETMAXPEN
  1113.  
  1114. pattern SetRGB32CM(_cm,_n,_r,_g,_b) is
  1115.     push d2\d3\a6;
  1116.     safe a0:=_cm; d0.l:=_n; d1.l:=_r; d2.l:=_g; d3.l:=_b;;
  1117.     a6:=GfxBase; jsr [a6-996];
  1118.     pop d2\d3\a6;
  1119. endp;                                                            # SETRGB32CM
  1120.  
  1121. pattern ScrollRasterBF(_rp,_dx,_dy,_xMin,_yMin,_xMax,_yMax) is
  1122.     push d2\d3\d4\d5\a6;
  1123.     safe a1:=_rp; d0.l:=_dx; d1.l:=_dy; d2.l:=_xMin; d3.l:=_yMin; d4.l:=_xMax; d5.l:=_yMax;;
  1124.     a6:=GfxBase; jsr [a6-1002];
  1125.     pop d2\d3\d4\d5\a6;
  1126. endp;                                                            # SCROLLRASTERBF
  1127.  
  1128. pattern FindColor(_cm,_r,_g,_b,_maxcolor) is
  1129.     push d2\d3\d4\a3\a6;
  1130.     safe a3:=_cm; d1.l:=_r; d2.l:=_g; d3.l:=_b; d4.l:=_maxcolor;;
  1131.     a6:=GfxBase; jsr [a6-1008];
  1132.     pop d2\d3\d4\a3\a6;
  1133. endp;                                                            # FINDCOLOR
  1134.  
  1135. pattern graphicsPrivate9 is
  1136.     push a6;
  1137.     a6:=GfxBase; jsr [a6-1014];
  1138.     pop a6;
  1139. endp;                                                            # GRAPHICSPRIVATE9
  1140.  
  1141. pattern AllocSpriteDataA(_bm,_tags) is
  1142.     push a2\a6;
  1143.     safe a2:=_bm; a1:=_tags;;
  1144.     a6:=GfxBase; jsr [a6-1020];
  1145.     pop a2\a6;
  1146. endp;                                                            # ALLOCSPRITEDATAA
  1147.  
  1148. pattern ChangeExtSpriteA(_vp,_oldsprite,_newsprite,_tags) is
  1149.     push a2\a3\a6;
  1150.     safe a0:=_vp; a1:=_oldsprite; a2:=_newsprite; a3:=_tags;;
  1151.     a6:=GfxBase; jsr [a6-1026];
  1152.     pop a2\a3\a6;
  1153. endp;                                                            # CHANGEEXTSPRITEA
  1154.  
  1155. pattern FreeSpriteData(_sp) is
  1156.     push a2\a6;
  1157.     a2:=_sp;
  1158.     a6:=GfxBase; jsr [a6-1032];
  1159.     pop a2\a6;
  1160. endp;                                                            # FREESPRITEDATA
  1161.  
  1162. pattern SetRPAttrsA(_rp,_tags) is
  1163.     push a6;
  1164.     safe a0:=_rp; a1:=_tags;;
  1165.     a6:=GfxBase; jsr [a6-1038];
  1166.     pop a6;
  1167. endp;                                                            # SETRPATTRSA
  1168.  
  1169. pattern GetRPAttrsA(_rp,_tags) is
  1170.     push a6;
  1171.     safe a0:=_rp; a1:=_tags;;
  1172.     a6:=GfxBase; jsr [a6-1044];
  1173.     pop a6;
  1174. endp;                                                            # GETRPATTRSA
  1175.  
  1176. pattern BestModeIDA(_tags) is
  1177.     push a6;
  1178.     a0:=_tags;
  1179.     a6:=GfxBase; jsr [a6-1050];
  1180.     pop a6;
  1181. endp;                                                            # BESTMODEIDA
  1182.  
  1183. pattern WriteChunkyPixels(_rp,_xstart,_ystart,_xstop,_ystop,_array,_bytesperrow) is
  1184.     push d2\d3\d4\a2\a6;
  1185.     safe a0:=_rp; d0.l:=_xstart; d1.l:=_ystart; d2.l:=_xstop; d3.l:=_ystop; a2:=_array; d4.l:=_bytesperrow;;
  1186.     a6:=GfxBase; jsr [a6-1056];
  1187.     pop d2\d3\d4\a2\a6;
  1188. endp;                                                            # WRITECHUNKYPIXELS
  1189.  
  1190.